package com.wtone.platform.gat.images.gat.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author: aiLin
 * @date: 2020-09-28
 * @desc:订阅对象对象 subscribe
 */
@ToString
@NoArgsConstructor                 //无参构造
@AllArgsConstructor                //有参构造
@ApiModel(value="SubscribeDB对象",description="SubscribeDB 表")
public class SubscribeDB
{
        @ApiModelProperty(value="主键编号")
        private String id;

        @ApiModelProperty(value="申请人")
        private String applicantname;

        @ApiModelProperty(value="申请单位")
        private String applicantorg;

        @ApiModelProperty(value="订阅开始时间")
        private String begintime;

        @ApiModelProperty(value="取消原因")
        private String cancelreson;

        @ApiModelProperty(value="取消时间")
        private String canceltime;

        @ApiModelProperty(value="订阅结束时间")
        private String endTime;

        @ApiModelProperty(value="操作类型 0：订阅；1：取消订阅")
        private String operatetype;

        @ApiModelProperty(value="订阅理由")
        private String reason;

        @ApiModelProperty(value="订阅信息接受地址URL")
        private String receiveaddr;

        @ApiModelProperty(value="信息上报时间,单位为秒（s），<=0 表示不限制")
        private String reportinterval;

        @ApiModelProperty(value="订阅资源类别")
        private String resourceclass;

        @ApiModelProperty(value="资源路径URI")
        private String resourceuri;

        @ApiModelProperty(value="-1 不要特征值1 需要返回特征值")
        private String resultfeaturedeclare;

        @ApiModelProperty(value="“11”—人像小图“14”— 大图")
        private String resultimagedeclare;

        @ApiModelProperty(value="订阅取消单位")
        private String subscribecancelorg;

        @ApiModelProperty(value="订阅取消人")
        private String subscribecancelperson;

        @ApiModelProperty(value="订阅类别")
        private String subscribedetail;

        @ApiModelProperty(value="订阅标识符")
        private String subscribeid;

        @ApiModelProperty(value="订阅执行状态 0：订阅中，1：已取消订阅，2：订阅到期 ，9：未订阅该字段只读")
        private String subscribestatus;

        @ApiModelProperty(value="订阅分类标签标识")
        private String tabid;

        @ApiModelProperty(value="描述订阅的主题和目标")
        private String title;

        @ApiModelProperty(value="创建者")
        private String              createBy;

        @ApiModelProperty(value="创建时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date                createTime;

        @ApiModelProperty(value="更新者")
        private String              updateBy;

        @ApiModelProperty(value="更新时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date                updateTime;

        @ApiModelProperty(value="备注")
        private String              remark;

        public String getEndTime() {
                return endTime;
        }

        public void setEndTime(String endTime) {
                this.endTime = endTime;
        }

        public String getId() {
                return id;
        }

        public void setId(String id) {
                this.id = id;
        }

        public String getApplicantname() {
                return applicantname;
        }

        public void setApplicantname(String applicantname) {
                this.applicantname = applicantname;
        }

        public String getApplicantorg() {
                return applicantorg;
        }

        public void setApplicantorg(String applicantorg) {
                this.applicantorg = applicantorg;
        }

        public String getBegintime() {
                return begintime;
        }

        public void setBegintime(String begintime) {
                this.begintime = begintime;
        }

        public String getCancelreson() {
                return cancelreson;
        }

        public void setCancelreson(String cancelreson) {
                this.cancelreson = cancelreson;
        }

        public String getCanceltime() {
                return canceltime;
        }

        public void setCanceltime(String canceltime) {
                this.canceltime = canceltime;
        }

        public String getOperatetype() {
                return operatetype;
        }

        public void setOperatetype(String operatetype) {
                this.operatetype = operatetype;
        }

        public String getReason() {
                return reason;
        }

        public void setReason(String reason) {
                this.reason = reason;
        }

        public String getReceiveaddr() {
                return receiveaddr;
        }

        public void setReceiveaddr(String receiveaddr) {
                this.receiveaddr = receiveaddr;
        }

        public String getReportinterval() {
                return reportinterval;
        }

        public void setReportinterval(String reportinterval) {
                this.reportinterval = reportinterval;
        }

        public String getResourceclass() {
                return resourceclass;
        }

        public void setResourceclass(String resourceclass) {
                this.resourceclass = resourceclass;
        }

        public String getResourceuri() {
                return resourceuri;
        }

        public void setResourceuri(String resourceuri) {
                this.resourceuri = resourceuri;
        }

        public String getResultfeaturedeclare() {
                return resultfeaturedeclare;
        }

        public void setResultfeaturedeclare(String resultfeaturedeclare) {
                this.resultfeaturedeclare = resultfeaturedeclare;
        }

        public String getResultimagedeclare() {
                return resultimagedeclare;
        }

        public void setResultimagedeclare(String resultimagedeclare) {
                this.resultimagedeclare = resultimagedeclare;
        }

        public String getSubscribecancelorg() {
                return subscribecancelorg;
        }

        public void setSubscribecancelorg(String subscribecancelorg) {
                this.subscribecancelorg = subscribecancelorg;
        }

        public String getSubscribecancelperson() {
                return subscribecancelperson;
        }

        public void setSubscribecancelperson(String subscribecancelperson) {
                this.subscribecancelperson = subscribecancelperson;
        }

        public String getSubscribedetail() {
                return subscribedetail;
        }

        public void setSubscribedetail(String subscribedetail) {
                this.subscribedetail = subscribedetail;
        }

        public String getSubscribeid() {
                return subscribeid;
        }

        public void setSubscribeid(String subscribeid) {
                this.subscribeid = subscribeid;
        }

        public String getSubscribestatus() {
                return subscribestatus;
        }

        public void setSubscribestatus(String subscribestatus) {
                this.subscribestatus = subscribestatus;
        }

        public String getTabid() {
                return tabid;
        }

        public void setTabid(String tabid) {
                this.tabid = tabid;
        }

        public String getTitle() {
                return title;
        }

        public void setTitle(String title) {
                this.title = title;
        }

        public String getCreateBy() {
                return createBy;
        }

        public void setCreateBy(String createBy) {
                this.createBy = createBy;
        }

        public Date getCreateTime() {
                return createTime;
        }

        public void setCreateTime(Date createTime) {
                this.createTime = createTime;
        }

        public String getUpdateBy() {
                return updateBy;
        }

        public void setUpdateBy(String updateBy) {
                this.updateBy = updateBy;
        }

        public Date getUpdateTime() {
                return updateTime;
        }

        public void setUpdateTime(Date updateTime) {
                this.updateTime = updateTime;
        }

        public String getRemark() {
                return remark;
        }

        public void setRemark(String remark) {
                this.remark = remark;
        }
}
